﻿using MyTask.Domain.Commands;
using MyTask.Domain.Models;
using MyTask.Domain.Queries;
using System;
using System.Collections.Generic;
using System.Text;

namespace MyTask.Application.Services
{
    public interface ITaskInfoService
    {
        bool AddTaskInfo(TaskInfoCommand command);
        bool UpdateTaskInfo(TaskInfoCommand command);

        bool SharedTasks(List<ShareTaskCommand> commands);
        List<TaskInfo> GetTaskInfosByUser(GetTaskInfosByUserQuery _query);
        TaskInfo GetTaskInfoById(GetTaskInfoByIdQuery _query);
        List<TaskInfo> GetSharedTasksByUser(GetSharedTasksByUserQuery _query);
    }
}
